const demo = require(process.argv[2])
console.log('running', demo)
let index = 0
console.log(`${index++}: ${typeof(demo.int32)}`)
console.log(`${index++}: ${typeof(demo.uint32)}`)
console.log(`${index++}: ${typeof(demo.int64)}`)
console.log(`${index++}: ${typeof(demo.double)}`)
console.log(`${index++}: ${typeof(demo.bigint_int64)}`)
console.log(`${index++}: ${typeof(demo.bigint_uint64)}`)
console.log(`${index++}: ${typeof(demo.bigint_words)}`)
console.log(`${index++}: ${typeof(demo.string_latin1)}`)
console.log(`${index++}: ${typeof(demo.string_utf16)}`)
console.log(`${index++}: ${typeof(demo.string_utf8)}`)
console.log(`${index++}: ${typeof(demo.boolean)}`)

/*
running {
  int32: -1234,
  uint32: 1234,
  int64: 1000000000000000000,
  double: 1e+25,
  bigint_int64: -164n,
  bigint_uint64: 164n,
  bigint_words: 340282366920938463463374607431768211455n,
  string_latin1: 'latin1',
  string_utf16: 'utf16',
  string_utf8: 'utf8',
  boolean: true
}
0: number
1: number
2: number
3: number
4: bigint
5: bigint
6: bigint
7: string
8: string
9: string
10: boolean
*/
